import request from './request.js';

export function createTestPaper(data) {
  return request.post('/testPaper', data)
}

export function findByPage(page = 1, limit = 10) {
  return request.get('/testPaper/findByPage')
}

export function findById(id) {
  return request.get(`/testPaper/exam/${id}`)
}

export function delById(id) {
  return request.delete(`/testPaper/${id}`)
}